const routes = [{
    path: '/',
    meta:'导航',
    name: 'nav',
    component: r => require.ensure([], () => r(require('view/nav.vue')), 'nav')
  },
  {
    path: '/problems',
    name: 'problems',
    meta:'常见问题',
    component: r => require.ensure([], () => r(require('view/problems/problems.vue')), 'page1'),
    // children:[{
    //   path: '/test',
    //   name: 'test',
    //   meta:'test',
    //   component: r => require.ensure([], () => r(require('view/test/test.vue')), 'page2'),
    // }] introduce
  },{
    path: '/introduce',
    meta:'智投介绍',
    name: 'introduce',
    component: r => require.ensure([], () => r(require('view/introduce/introduce.vue')), 'introduce')
  },{
    path: '/security',
    meta:'安全保障',
    name: 'security',
    component: r => require.ensure([], () => r(require('view/introduce/security.vue')), 'security')
  },{
    path: '/about',
    meta:'关于我们',
    name: 'about',
    component: r => require.ensure([], () => r(require('view/introduce/about.vue')), 'about')
  },{
    path: '/consultant',
    meta:'投资顾问',
    name: 'consultant',
    component: r => require.ensure([], () => r(require('view/introduce/consultant.vue')), 'about')
  },
  {
    path: '/understandInstantly',
    meta:'一分钟看懂鲸鱼智投',
    name: 'understandInstantly',
    component: r => require.ensure([], () => r(require('view/introduce/understand-Instantly.vue')), 'about')
  }
  // ,{
  //   path: '/demo',
  //   meta:'demo',
  //   name: 'demo',
  //   component: r => require.ensure([], () => r(require('view/test/demo.vue')), 'test')
  // }

]
export default routes
